package com.ibeeking.found.open.b.rest.service;

import com.ibeeking.found.open.api.common.query.QrCodeQuery;
import com.ibeeking.found.open.service.common.dto.MemberCouponListDTO;
import com.ibeeking.found.open.service.common.dto.MemberInfoDTO;
import com.ibeeking.found.open.service.common.query.MemberCouponQuery;
import com.ibeeking.found.open.service.common.query.MemberInfoQuery;
import com.ibeeking.nematos.utils.base.page.Page;

import javax.servlet.http.HttpServletResponse;

/**
 * @ClassName IMemberService
 * @Description
 * @Author ibeeking
 * @Date 2021-06-04 11:45
 **/
public interface IMemberService {

    /**
     * 查询会员信息
     *
     * @param query
     * @return
     */
    MemberInfoDTO memberInfo(MemberInfoQuery query);

    /**
     * 查询会员券列表
     * @param query
     * @return
     */
    Page<MemberCouponListDTO> memberCouponList(MemberCouponQuery query);

    /**
     * 会员码
     * @param response
     * @param query
     */
    void qrCode(HttpServletResponse response, QrCodeQuery query);
}
